{include file="Main/menu" /}
<form method="post" class="form-x" action="?tab=upload&pid={:input('get.pid')}&cid={:input('get.cid')}&aid={:input('get.aid')}" style="background: #ffffff">
    <br>
    <script>
        //city canshu
        var pid="{:input('get.pid')}";
        var cid="{:input('get.cid')}";
        var aid="{:input('get.aid')}";
        var selectc=true;
        var selecta=true;
        function select_p(){
            return false;
        }
        function select_c(){
            return false;
        }
        function select_a(){
            location.href="?pid="+pid+"&cid="+cid+"&aid="+aid;
        }
    </script>
    <div class="am-dropdown">
        <div class="label">
            <label>{:lang('currency')['city']}</label>
        </div>
        <div class="field">
            {include file="public/city" /}
        </div>
    </div>
    {if count($data) > 0}
        <div class="am-dropdown">
            <div class="label">
                <label>配送员图标</label>
            </div>
            <div class="field">
                <img src="{$data.express_icon}" width="100" style="min-height: 50px">
                <input type="hidden" readonly name="express_icon" id="express_icon" value="{$data.express_icon}">
                <span class="addbtn"><button type="button" data-id="express_icon" class="button upload">更改图标</button></span>
                <label>
                    <input type="checkbox" {if $data.icon_status == 1}checked="checked"{/if}" value="1" name="icon_status">
                    启用
                </label>
            </div>
        </div>
        <!--<div class="am-dropdown">
            <div class="label">
                <label>用户完成订单奖励积分</label>
            </div>
            <div class="field">
                <input type="text" class="input input-auto" id="reward_integral" name="reward_integral" value="{if !$data.reward_integral}1{else}{$data.reward_integral}{/if}" size="10" placeholder="{:lang('currency')['required']}" data-validate="required:{:lang('currency')['required']}"/> 积分
            </div>
        </div>-->
        <div class="am-dropdown">
            <div class="label">
                <label>跑客接单范围</label>
            </div>
            <div class="field">
                <input type="text" class="input input-auto" id="scope" name="scope" value="{if !$data.scope}3.00{else}{$data.scope}{/if}" size="10" placeholder="{:lang('currency')['required']}" data-validate="required:{:lang('currency')['required']}"/> km
            </div>
        </div>
        <div class="am-dropdown">
            <div class="label">
                <label>基础跑腿费</label>
            </div>
            <div class="field">
                <input type="text" class="input input-auto" id="basics_charge" name="basics_charge" value="{if !$data.basics_charge}3.00{else}{$data.basics_charge}{/if}" size="10" placeholder="{:lang('currency')['required']}" data-validate="required:{:lang('currency')['required']}"/> 元
            </div>
        </div>
        <div class="am-dropdown">
            <div class="label">
                <label>应急加收跑腿费</label>
            </div>
            <div class="field">
                <input type="text" class="input input-auto" id="anxious_charge" name="anxious_charge" value="{if !$data.anxious_charge}3.00{else}{$data.anxious_charge}{/if}" size="10" placeholder="{:lang('currency')['required']}" data-validate="required:{:lang('currency')['required']}"/> 元
            </div>
        </div>
        <div class="am-dropdown">
            <div class="label">
                <label>闪送加收跑腿费</label>
            </div>
            <div class="field">
                <input type="text" class="input input-auto" id="fast_charge" name="fast_charge" value="{if !$data.fast_charge}3.00{else}{$data.fast_charge}{/if}" size="10" placeholder="{:lang('currency')['required']}" data-validate="required:{:lang('currency')['required']}"/> 元
            </div>
    </div>
        <div class="am-dropdown">
            <div class="label">
                <label>每公里跑腿费-白天</label>
            </div>
            <div class="field">
                <input type="text" class="input input-auto" id="white_charge" name="white_charge" value="{if !$data.white_charge}3.00{else}{$data.white_charge}{/if}" size="10" placeholder="{:lang('currency')['required']}" data-validate="required:{:lang('currency')['required']}"/> 元
            </div>
        </div>
        <div class="am-dropdown">
            <div class="label">
                <label>每公里跑腿费-夜晚</label>
            </div>
            <div class="field">
                <input type="text" class="input input-auto" id="night_charge" name="night_charge" value="{if !$data.night_charge}3.00{else}{$data.night_charge}{/if}" size="10" placeholder="{:lang('currency')['required']}" data-validate="required:{:lang('currency')['required']}"/> 元
            </div>
        </div>
        <div class="am-dropdown">
            <div class="label">
                <label>每公斤增加跑腿费</label>
            </div>
            <div class="field">
                <input type="text" class="input input-auto" id="weight_charge" name="weight_charge" value="{if !$data.weight_charge}3.00{else}{$data.weight_charge}{/if}" size="10" placeholder="{:lang('currency')['required']}" data-validate="required:{:lang('currency')['required']}"/> 元
            </div>
        </div>
        <div class="am-dropdown">
            <button class="button bg-main" type="submit">提交</button>
        </div>
    {else}
        <div style="margin-left: 40px;">请选择城市后设置</div>
		<br>
    {/if}
</form>
{include file="Main/menu_footer" /}